<script type="text/javascript" src="/static/js/jquery.parser.js"></script>
<form id="{{datagrid_id}}_form" action="" method="post">
<br>
    <table  width="98%"  style="font-size:15px;text-align:left;line-height:30px;" border="3" align="center">
    <tr><td>额度帐号：{{account.account}}<td>登录名：{{account.loginname}}</td></tr>
    <tr><td>身份证：{{account.identify}}</td><td>姓名：{{account.name}}</td></tr>
    <tr><td>账户类型：{{account.accountTypeDesc}}</td><td>直属上司：{{parent}}</td></tr>
    <tr><td>mac地址：{{account.mac}}</td><td>余额：{{account.balance}}</td></tr>
    <tr><td>联系电话：{{account.telephone1}}</td><td>提成点数：{{account.commissionRatio}}</td></tr>
    <tr><td>银行卡号：{{account.bankNum1}}</td><td>开户行：{{account.bankname1}}</td></tr>
    <tr><td colspan="2">联系地址：{{account.address1}}</td></tr>
    </table>

<!--  

<form id="{{datagrid_id}}_form" action="" method="post">
	<table id="labelFields">
		<tr>
			<td class="required formLabel"><lable>额度帐号：</lable></td>
			<td class="required formLabel">
			<lable font-color="blue">{{account.account}}</lable>
				
			</td>
			<td class="required formLabel">余额：</td>
			<td class="required formLabel">
			<lable>{{account.balance}}</lable>
				
			</td>
		</tr>
		
		<tr>
			<td class="required formLabel">姓名：</td>
			<td class="required formLabel">
			<lable>{{account.name}}</lable>
				
			</td>
			<td class="required formLabel">身份证：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="identify" id="identify" value="{{account.identify}}" required="true">
			</td>
		</tr>
		<tr>
			<td class="required formLabel">联系地址：</td>
			<td class="required formLabel" colspan="3">
				<input class="input1" type="text" name="address" id="address" value="{{account.address1}}" required="true"  maxlength="33">
			</td>
		</tr>
		<tr>
			<td class="required formLabel">联系电话：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="telephone" id="telephone" value="{{account.telephone1}}" required="true">
			</td>
			<td class="required formLabel">开户行：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="bankname" id="bankname" value="{{account.bankname1}}" required="true"  >
			</td>
		</tr>
		
		<tr>
			<td class="required formLabel">登录名：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="loginname" id="loginname" value="{{account.loginname}}" required="true" maxlength="20">
			</td>
			<td class="required formLabel">银行卡号：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="bank_num" id="bank_num" value="{{account.bankNum1}}" required="true">
				<input type="hidden" value="{{account.id}}" name="accountid" id="accountid">
			</td>
		</tr>
		{% if account.accountType == 0%}
		
		<tr>
		{% if account11.accountType == 2%}
			<td class="required formLabel">mac地址：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="mac" id="mac" value="{{account.mac}}" required="true" disabled="disabled">
			</td>
			{% endif %}
			{% if account11.accountType != 2%}
			<td class="required formLabel">mac地址：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="mac" id="mac" disabled="disabled" value="{{account.mac}}" required="true">
			</td>
			{% endif %}
			{% if account11.accountType == 2%}
			
			<td class="required formLabel">代理商：</td>
			<td class="required formLabel">
				<select name="agent" id="agent">
				{% for ac in account33 %}
					<option value="{{ac.id}}">当前代理：{{ac.loginname}}</option>
				{% endfor %}
				<option value="-1">无需代理</option>
				{% for ac in account22 %}
					<option value="{{ac.id}}">{{ac.loginname}}</option>
				{% endfor %}
				</select>
			</td>
			{% endif %}
			{% if account11.accountType != 2%}
			<td class="required formLabel">代理商：</td>
			<td class="required formLabel">
				<select name="agent" id="agent" >
				
				{% for ac in account33 %}
					<option value="{{ac.id}}">{{ac.loginname}}</option>
				{% endfor %}
				</select>
			</td>
			{% endif %}
		</tr>
		{% endif %}
		<tr>
		   {% if account11.accountType == 2%}
			<td class="required formLabel">提成点数：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="ratio"  id="ratio"  value="{{account.commissionRatio}}" required="true">
			</td>
			<td class="required formLabel">账户类型：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="account_type" id="account_type" disabled="disabled" value='{{account.accountTypeDesc}}' required="true">
			    <input type="hidden" value="{{account.accountType}}" name="account_type1" id="account_type1">
			</td>
		
			
			{% endif %}
			{% if account11.accountType != 2%}
			<td class="required formLabel">提成点数：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="ratio"  id="ratio" disabled="disabled" value='{{account.commissionRatio}}' required="true">
			</td>
			<td class="required formLabel">账户类型：</td>
			<td class="required formLabel">
				<input class="input" type="text" name="account_type" id="account_type" disabled="disabled" value='{{account.accountTypeDesc}}' required="true">
			    <input type="hidden" value="{{account.accountType}}" name="account_type1" id="account_type1">
			</td>
			
			{% endif %}
		</tr>


		
		
	</table>
</form>
-->